package com.lvxh.exp.filter.global;

import org.springframework.context.ApplicationContext;

public class ExpContext
{
    private ApplicationContext ctx;

    private static ExpContext exp = null;

    private ExpContext()
    {
    }

    synchronized public static ExpContext getInstance()
    {
        if (exp == null)
        {
            exp = new ExpContext();
        }
        return exp;
    }

    public ApplicationContext getCtx()
    {
        return ctx;
    }

    public void setCtx(ApplicationContext ctx)
    {
        this.ctx = ctx;
    }

}
